package com.nantian.logic.repository.mainRepo.stuRepo;

import com.nantian.logic.entity.mainEntity.stuEntity.StudentEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface StudentRepository extends JpaRepository<StudentEntity,Integer> {
    List<StudentEntity> findAllById(Long ID);
    List<StudentEntity> findByUserid(Long userid);
}
